#pragma once
#include "Scene.h"
#include "DXContext.h"

namespace DXBase
{
	namespace Samples
	{
		[Windows::Foundation::Metadata::WebHostHidden]
		public ref class HelloDWrite sealed : ISceneData
		{
		public:
			virtual Windows::Foundation::IAsyncOperation<bool>^ LoadAsync(DXContext^ ctxt);
			virtual void Reset();
			virtual void Resize(DXContext^ ctxt);
			virtual void Render(DXContext^ ctxt, PerformanceTimer^ timer);


		private:
			Microsoft::WRL::ComPtr<IDWriteTextLayout>                       m_textLayout;
			Microsoft::WRL::ComPtr<ID2D1SolidColorBrush>                    m_blackBrush;

		private:
		};
	}
}